<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Subject</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Interface Subject</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
															<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The Subject interface</p>
<p class="description"><p>The Subject interface</p></p>
	<ul class="tags">
				<li><span class="field">author:</span> wassim Chegham &amp; hugo Marchadour</li>
				<li><span class="field">version:</span> 0.1</li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_Subject.php.html">/Subject.php</a> (line <span class="field"><a href="../__filesource/fsource_Observer__Subject.php.html#a25">25</a></span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>




	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
												<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																				
												<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#attach" title="details" class="method-name">attach</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$o</span>, <span class="var-type"><a href="../Observer/Observer.html">Observer</a></span>&nbsp;<span class="var-name">$o</span>)
									</div>
																<div class="method-definition">
											<span class="method-result">void</span>
										<a href="#detach" title="details" class="method-name">detach</a>
											(<span class="var-type"></span>&nbsp;<span class="var-name">&$o</span>, <span class="var-type"><a href="../Observer/Observer.html">Observer</a></span>&nbsp;<span class="var-name">$o</span>)
									</div>
								</div>
		</div>
	</div>		

	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="methodattach" id="attach"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">attach</span> (line <span class="line-number"><a href="../__filesource/fsource_Observer__Subject.php.html#a33">33</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Attach an observer to this concrete subject</p>
<p class="description"><p>Attach an observer to this concrete subject</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			attach
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$o</span>, <span class="var-type"><a href="../Observer/Observer.html">Observer</a></span>&nbsp;<span class="var-name">$o</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Observer/Observer.html">Observer</a></span>
				<span class="var-name">$o</span><span class="var-description">: the observer of this concrete subject</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$o</span>			</li>
				</ul>
		
			
	</div>
<a name="methoddetach" id="detach"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">detach</span> (line <span class="line-number"><a href="../__filesource/fsource_Observer__Subject.php.html#a40">40</a></span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Detach an observer from this concrete subject</p>
<p class="description"><p>Detach an observer from this concrete subject</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			detach
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">&$o</span>, <span class="var-type"><a href="../Observer/Observer.html">Observer</a></span>&nbsp;<span class="var-name">$o</span>)
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../Observer/Observer.html">Observer</a></span>
				<span class="var-name">$o</span><span class="var-description">: the observer to be detached</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">&$o</span>			</li>
				</ul>
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Fri, 03 Dec 2010 16:49:31 +0100 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>